package springlog.facade;

public class FacadeClient{
    private  LivingRoomLight livingRoomLight = new LivingRoomLight();
    private BedroomLight bedroomLight = new BedroomLight();
    private HallLight hallLight = new HallLight();

    public void on() {
        livingRoomLight.on();
        bedroomLight.on();
        hallLight.on();
    }

    public void off() {
        livingRoomLight.off();
        bedroomLight.off();
        hallLight.off();
    }

}
